package com.zyl.edthresholdtraining.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * InnoDB free: 48128 kB
 * </p>
 *
 * @author zhangyulu
 * @since 2020-07-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_user_test_result")
@ApiModel(value="UserTestResult对象", description="InnoDB free: 48128 kB")
public class UserTestResult implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long userId;

    @ApiModelProperty(value = "被试测试的第几组")
    private Integer groupNumber;

    @ApiModelProperty(value = "正确率")
    private BigDecimal rightRate;

    @ApiModelProperty(value = "平均反应时")
    private Double avgTime;

    @ApiModelProperty(value = "1:训练结果2:每日打卡结果(真实数据）")
    private Integer type;

    @ApiModelProperty(value = "每个时间分区的唯一标识")
    private String timePartitionUuid;

    @TableField(value = "create_time",fill = FieldFill.INSERT)

    private LocalDateTime createTime;
    @TableField(value = "update_Time",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}
